package com.yunao.commons.serachcore.core.help;

/**
 * 媒体类型
 * 
 * @author guild
 *
 */
public enum MediaType {

	/** 新闻 */
	NEWS,
	/** 政务 */
	GOVERNMENT,
	/** 客户端 */
	CLIENT,
	/** 论坛 */
	FORUM,
	/** 贴吧 */
	TIEBA,
	/** 微博 */
	WEIBO,
	/** 微信 */
	WECHAT,
	/** 博客 */
	BLOG,
	/** 电子报 */
	NEWSPAPER,
	/** 视频 */
	VIDEO,
	/** 电视 */
	TV,
	/** 网站 */
	OTHER;

	@Override
	public String toString() {
		String v;
		switch (this) {
		case NEWS:
			v = "新闻";
			break;
		case GOVERNMENT:
			v = "政务";
			break;
		case CLIENT:
			v = "客户端";
			break;
		case FORUM:
			v = "论坛";
			break;
		case TIEBA:
			v = "贴吧";
			break;
		case WEIBO:
			v = "微博";
			break;
		case WECHAT:
			v = "微信";
			break;
		case BLOG:
			v = "博客";
			break;
		case NEWSPAPER:
			v = "电子报";
			break;
		case VIDEO:
			v = "视频";
			break;
		case TV:
			v = "电视";
			break;
		case OTHER:
			v = "网站";
			break;

		default:
			v = "";
			break;
		}
		return v;
	}

}
